﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bordspil.Models;

namespace Bordspil.Tests.MockUp
{
    class MockDb : IAppRepository
    {
        public List<GameInstance> GameInstances { get; set; }
        public List<PlayerList> playerList { get; set; }
        public IEnumerable<Games> GameRate { get; set; }


        public IEnumerable<GameInstance> GetGames()
        {
            return GameInstances;
        }

        public IEnumerable<Games> GetAllGames()
        {
            return GameRate;
        }

        public IEnumerable<UserProfile> GetAllUsers()
        {
            throw new NotImplementedException();
        }

        public IEnumerable<GameRanking> GetAllGameRankings()
        {
            throw new NotImplementedException();
        }

        public void AddGame(GameInstance g)
        {
            throw new NotImplementedException();
        }

        public void AddGameRating(GameRanking g)
        {
            throw new NotImplementedException();
        }

        public void Save()
        {
            throw new NotImplementedException();
        }

        public IEnumerable<PlayerList> GetPlayerList()
        {
            return playerList;
        }

        public void AddToPlayerList(PlayerList p)
        {
            throw new NotImplementedException();
        }

        public IEnumerable<Highscore> GetAllHighscore()
        {
            throw new NotImplementedException();
        }
    }
}
